require 'data_mapper'
require 'dm-validations'

class Tag
    include DataMapper::Resource

    property :id, Serial
    property :title, String, :required => true
    has n, :items, :through => Resource
end
